from imports import *
class Obstacle(pygame.sprite.Sprite):
##    from imports import *
    def __init__(self, pos):
        pygame.sprite.Sprite.__init__(self)
        self.defaults = pos
        self.rect = Rect(int(self.defaults[0]), int(self.defaults[1]), int(32*float(self.defaults[2])), int(32*float(self.defaults[3])))
        self.onGround = False
    def update(self):
        pass
    def reset(self):
        self.rect.top = int(self.defaults[1])
        self.rect.left = int(self.defaults[0])
